package com.lovo;

import com.lovo.util.WebUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.lovo.dao")
public class ManageSystemApplication {

    public static void main(String[] args) {
        if(args.length > 0){
            WebUtil.SERVER_NAME = args[0];
        }
        SpringApplication.run(ManageSystemApplication.class, args);
    }

}
